package com.yunji.framework_template.orm.persistence.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yunji.framework_template.common.web.Page;
import com.yunji.framework_template.orm.persistence.model.SitesTypeTop;

public interface SitesTypeTopMapper {

    int deleteByPrimaryKey(@Param("typeId") Integer typeId, @Param("siteId") Integer siteId);

    int insert(SitesTypeTop record);

    int insertSelective(SitesTypeTop record);

    SitesTypeTop selectByPrimaryKey(@Param("typeId") Integer typeId, @Param("siteId") Integer siteId);

    int updateByPrimaryKeySelective(SitesTypeTop record);

    int updateByPrimaryKey(SitesTypeTop record);

    List<SitesTypeTop> selectByCondition(SitesTypeTop record);

    List<SitesTypeTop> selectAll();

    List<SitesTypeTop> selectByPage(Page page);

    Integer count(SitesTypeTop record);

    int deleteByCondition(SitesTypeTop record);
}
